package git.soulbgm.pojo;

import java.util.Date;

/**
 * 节点磁盘空闲记录
 *
 * @author SoulBGM
 * @date 2023-08-07
 */
public class NodeDiskFreeRecord {

    /**
     * ID
     */
    private Long id;

    /**
     * 节点/主机编号
     */
    private Integer nodeCode;

    /**
     * 主机名
     */
    private String hostname;

    /**
     * IP地址
     */
    private String ip;

    /**
     * 检测时间
     */
    private Date detectionTime;

    /**
     * 磁盘空闲大小 单位字节
     */
    private Long diskFree;

    public NodeDiskFreeRecord() {
    }

    public NodeDiskFreeRecord(Integer nodeCode, String hostname, String ip, Date detectionTime, Long diskFree) {
        this.nodeCode = nodeCode;
        this.hostname = hostname;
        this.ip = ip;
        this.detectionTime = detectionTime;
        this.diskFree = diskFree;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(Integer nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(Date detectionTime) {
        this.detectionTime = detectionTime;
    }

    public Long getDiskFree() {
        return diskFree;
    }

    public void setDiskFree(Long diskFree) {
        this.diskFree = diskFree;
    }
}
